home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / fddev202.arc / PASCAL.ARC / TERMINAL.INC < prev    next >
Text File  |  1991-10-01  |  4KB  |  81 lines

  1. (*
  2. **  Terminal.Inc (FrontDoor Terminal)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  TERMPHON.FD, TERMPROF.FD, and TERMKEYS.FD format for FrontDoor 2.01+
  7. **
  8. **  Last revised: 91-10-02
  9. **
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. *)
  15.  
  16.     (* Phone entry record descriptor -------------------------------------- *)
  17.     (* TERMPHON.FD *)
  18.  
  19. TYPE
  20.   PhoneRec    = RECORD
  21.     Name      : string[30];                                    (*System name*)
  22.     Number    : string[34];                     (*Telephone number as dialed*)
  23.     BaudRate  : word;                                            (*Baud rate*)
  24.     Flags     : longint;                    (*See below under 'Entry Flags:'*)
  25.     Protocol,                             (*Preferred file transfer protocol*)
  26.     Parity,                                                         (*Parity*)
  27.     Wordlen,                                        (*# of data bits, 7 or 8*)
  28.     StopBits,                                       (*# of stop bits, 1 or 2*)
  29.     Emulation : byte;                                   (*Terminal emulation*)
  30.     KeySet,                          (*Key definition record, 0xFFFF=DEFAULT*)
  31.     Profile   : word;                            (*Profile record, 0=DEFAULT*)
  32.     Script    : string[8];               (*Script name to use, blank if none*)
  33.   End;
  34.  
  35.     (* Phone record flags: *)
  36.  
  37. CONST
  38.   XLAT_ON     = $00000001;                          (*Use translation tables*)
  39.   DIALED      = $00000002;                              (*Queued for dialing*)
  40.   LINEFEEDS   = $00000004;                         (*On=CR->CR/LF Off=CR->CR*)
  41.   NOWRAPLINES = $00000008;                   (*Don't wrap lines when xpos=80*)
  42.   B_LOCALECHO = $00000010;                (*Echo keyboard input to local CRT*)
  43.   B_NOAVATAR  = $00000020;                             (*No AVATAR sequences*)
  44.   B_NOIEMSI   = $00000040;                                        (*No IEMSI*)
  45.   DELETED     = $80000000;                  (*Entry is deleted, never stored*)
  46.  
  47.     (* Profile entry record descriptor ------------------------------------ *)
  48.     (* TERMPROF.FD (all strings are NUL terminated) *)
  49.  
  50. TYPE
  51.   ProfileRec  = RECORD
  52.     UserName  : array[1..30] of char;                            (*User name*)
  53.     Handle    : array[1..20] of char;                               (*Handle*)
  54.     Password  : array[1..20] of char;                             (*Password*)
  55.     Flags     : longint;                  (*See below under 'Profile Flags:'*)
  56.     Reserved  : array[1..20] of char;                           (* reserved *)
  57.   End;
  58.  
  59.     (* Profile flags:*)
  60.  
  61. CONST
  62.   PRF_HOTKEYS = $00000001;                                         (*Hotkeys*)
  63.   PRF_QUIET   = $00000002;                                   (*Don't disturb*)
  64.   PRF_MORE    = $00000004;                                    (*Page pausing*)
  65.   PRF_EDITOR  = $00000008;                          (*Use full-screen editor*)
  66.   PRF_NEWS    = $00000010;                      (*Show bulletins, news, etc.*)
  67.   PRF_NEWMAIL = $00000020;                              (*Check for new mail*)
  68.   PRF_NEWFILE = $00000040;                             (*Check for new files*)
  69.   PRF_CLRSCR  = $00000080;                                 (*Screen clearing*)
  70.  
  71.     (* Keyset entry record descriptor ------------------------------------- *)
  72.     (* TERMKEYS.FD *)
  73.  
  74. TYPE
  75.   KeyRec      = RECORD
  76.     ShiftKey  : Array[1..12] of string[30];                   (*Shift F1-F12*)
  77.     CtrlKey   : Array[1..12] of string[30];                    (*Ctrl F1-F12*)
  78.   End;
  79.  
  80. (* end of file "Terminal.Inc" *)
  81.